import  axios from  "./axios";


let userModel = {
    login:(data:any)=>{ //因为login请求是post请求
        return  axios({
            method:"post",
            url:"/api/users/login",
            data
        })
    }
}

export  default userModel;